import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useUserStore = defineStore('user', () => {
  const admin = ref(null)
  
  const setAdmin = (adminData) => {
    admin.value = adminData
  }
  
  return { admin, setAdmin }
})